package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class GetSum {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int sum=0;
        System.out.println("请输入数字：");
        int k=in.nextInt();
        for(int i=0,j=k;i<=k;i++,j--){
            System.out.println(i+"+"+j+"="+(i+j));
        }
    }
}
